package com.ych.beans;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class SensorModel {
    private Integer id;
    private String deviceName;
    private String deviceType;
    private String deviceNumber;
    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss")
    private Date createTime;
    private String protocol;
    private Integer upInterval;
    private String dataPointName;
    private String dataPointExtra;
    private Integer lowThreshold;
    private Integer highThreshold;
}
